﻿namespace Pixeldyne.Core.Configuration
{
	/// <summary>
	/// Configuration element representing a one-dimensional list of values.
	/// </summary>
	public class ListConfigCollection : BaseCollection<string, ListConfigElement>
	{
		/// <summary>
		/// Gets the element key.
		/// </summary>
		/// <param name="element">The element.</param>
		protected override string GetElementKey(ListConfigElement element)
		{
			return element.Value;
		}
	}
}
